const express = require('express');

const router = express.Router();

const path = require('path');

//显示跟人中心页面  admin/center/profile.html
router.get('/admin/center/profile', (req, res) => {
    res.render(path.join(rootPath, 'view', 'admin/center/profile.html'), req.session.userInfo);
})

module.exports = router;